<?php
namespace Admin\Controller;
use Think\Controller;
class CategoryController extends CommonController {
    public function index(){
		$cate=D('Category')->GetCate();
		$this->assign('cate',$cate);

		$res=M('category')->select();
		$this->assign('info',$res);
		
        $this->display();
    }
    //分类编辑
    public function cateedit()
    {
    	
    }
    //删除分类
    public function catedel()
    {
    	
    }
    //批量删除分类
    public function catedelall()
    {
    	
    }
    // 增加分类
    public function cateadd()
    {
    	
    }

 }